package com.example.entity;

import java.util.List;

public class Forum {
    private int share_id;
    private int user_id;

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    private List<Comment> comments;
    @Override
    public String toString() {
        return "Forum{" +
                "share_id=" + share_id +
                ", user_id=" + user_id +
                ", content='" + content + '\'' +
                ", like_count=" + like_count +
                ", comment_count='" + comment_count + '\'' +
                ", location='" + location + '\'' +
                ", create_time='" + create_time + '\'' +
                '}';
    }

    public int getShare_id() {
        return share_id;
    }

    public void setShare_id(int share_id) {
        this.share_id = share_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLike_count() {
        return like_count;
    }

    public void setLike_count(int like_count) {
        this.like_count = like_count;
    }

    public String getComment_count() {
        return comment_count;
    }

    public void setComment_count(String comment_count) {
        this.comment_count = comment_count;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    private  String content;
    private int like_count;
    private String comment_count;
    private String location;
    private String create_time;
}
